﻿@model _2._16._2015_Blog.Models.CreateBlogViewModel
@{
    ViewBag.Title = "Create";
}

<h2>Create</h2>

@using (Html.BeginForm())
{
    <p>
        @Html.LabelFor(m => m.UserName)
        @Html.TextBoxFor(m => m.UserName)
    </p>
    <p>
        @Html.LabelFor(m => m.Title)
        @Html.TextBoxFor(m => m.Title)
    </p
    <p>
        @Html.LabelFor(m => m.Text)
        @Html.TextBoxFor(m => m.Text)
    </p>
    <p>
        <input type="submit" value="Create Blog Post" />
    </p>
}